3.3.26 \(\int (a g+b g x)^m (c i+d i x)^{-2-m} (A+B \log (e (a+b x)^n (c+d x)^{-n}))^p \, dx\) [226]

Optimal. Leaf size=193 \[ \frac {e^{-\frac {A (1+m)}{B n}} (a+b x) (g (a+b x))^m (i (c+d x))^{-m} \left (e (a+b x)^n (c+d x)^{-n}\right )^{-\frac {1+m}{n}} \Gamma \left (1+p,-\frac {(1+m) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )}{B n}\right ) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^p \left (-\frac {(1+m) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )}{B n}\right )^{-p}}{(b c-a d) i^2 (1+m) (c+d x)} \]

[Out]

(b*x+a)*(g*(b*x+a))^m*GAMMA(1+p,-(1+m)*(A+B*ln(e*(b*x+a)^n/((d*x+c)^n)))/B/n)*(A+B*ln(e*(b*x+a)^n/((d*x+c)^n))
)^p/(-a*d+b*c)/exp(A*(1+m)/B/n)/i^2/(1+m)/(d*x+c)/((i*(d*x+c))^m)/((e*(b*x+a)^n/((d*x+c)^n))^((1+m)/n))/((-(1+
m)*(A+B*ln(e*(b*x+a)^n/((d*x+c)^n)))/B/n)^p)

________________________________________________________________________________________

Rubi [A]
time = 0.31, antiderivative size = 193, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 50, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2573, 2563, 2347, 2212} \begin {gather*} \frac {(a+b x) e^{-\frac {A (m+1)}{B n}} (g (a+b x))^m (i (c+d x))^{-m} \left (e (a+b x)^n (c+d x)^{-n}\right )^{-\frac {m+1}{n}} \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )^p \left (-\frac {(m+1) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )}{B n}\right )^{-p} \text {Gamma}\left (p+1,-\frac {(m+1) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )}{B n}\right )}{i^2 (m+1) (c+d x) (b c-a d)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*g + b*g*x)^m*(c*i + d*i*x)^(-2 - m)*(A + B*Log[(e*(a + b*x)^n)/(c + d*x)^n])^p,x]

[Out]

((a + b*x)*(g*(a + b*x))^m*Gamma[1 + p, -(((1 + m)*(A + B*Log[(e*(a + b*x)^n)/(c + d*x)^n]))/(B*n))]*(A + B*Lo
g[(e*(a + b*x)^n)/(c + d*x)^n])^p)/((b*c - a*d)*E^((A*(1 + m))/(B*n))*i^2*(1 + m)*(c + d*x)*(i*(c + d*x))^m*((
e*(a + b*x)^n)/(c + d*x)^n)^((1 + m)/n)*(-(((1 + m)*(A + B*Log[(e*(a + b*x)^n)/(c + d*x)^n]))/(B*n)))^p)

Rule 2212

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c
+ d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d))^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m
 + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2347

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)/n)*x)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 2563

Int[((A_.) + Log[(e_.)*(((a_.) + (b_.)*(x_))/((c_.) + (d_.)*(x_)))^(n_.)]*(B_.))^(p_.)*((f_.) + (g_.)*(x_))^(m
_.)*((h_.) + (i_.)*(x_))^(q_.), x_Symbol] :> Dist[d^2*((g*((a + b*x)/b))^m/(i^2*(b*c - a*d)*(i*((c + d*x)/d))^
m*((a + b*x)/(c + d*x))^m)), Subst[Int[x^m*(A + B*Log[e*x^n])^p, x], x, (a + b*x)/(c + d*x)], x] /; FreeQ[{a,
b, c, d, e, f, g, h, i, A, B, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[b*f - a*g, 0] && EqQ[d*h - c*i, 0] &
& EqQ[m + q + 2, 0]

Rule 2573

Int[((A_.) + Log[(e_.)*(u_)^(n_.)*(v_)^(mn_)]*(B_.))^(p_.)*(w_.), x_Symbol] :> Subst[Int[w*(A + B*Log[e*(u/v)^
n])^p, x], e*(u/v)^n, e*(u^n/v^n)] /; FreeQ[{e, A, B, n, p}, x] && EqQ[n + mn, 0] && LinearQ[{u, v}, x] &&  !I
ntegerQ[n]

Rubi steps

\begin {align*} \int (226 c+226 d x)^{-2-m} (a g+b g x)^m \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^p \, dx &=\int (226 c+226 d x)^{-2-m} (a g+b g x)^m \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^p \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 0.30, size = 0, normalized size = 0.00 \begin {gather*} \int (a g+b g x)^m (c i+d i x)^{-2-m} \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^p \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[(a*g + b*g*x)^m*(c*i + d*i*x)^(-2 - m)*(A + B*Log[(e*(a + b*x)^n)/(c + d*x)^n])^p,x]

[Out]

Integrate[(a*g + b*g*x)^m*(c*i + d*i*x)^(-2 - m)*(A + B*Log[(e*(a + b*x)^n)/(c + d*x)^n])^p, x]

________________________________________________________________________________________

Maple [F]
time = 1.33, size = 0, normalized size = 0.00 \[\int \left (b g x +a g \right )^{m} \left (d i x +c i \right )^{-2-m} \left (A +B \ln \left (e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )\right )^{p}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*g*x+a*g)^m*(d*i*x+c*i)^(-2-m)*(A+B*ln(e*(b*x+a)^n/((d*x+c)^n)))^p,x)

[Out]

int((b*g*x+a*g)^m*(d*i*x+c*i)^(-2-m)*(A+B*ln(e*(b*x+a)^n/((d*x+c)^n)))^p,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*g*x+a*g)^m*(d*i*x+c*i)^(-2-m)*(A+B*log(e*(b*x+a)^n/((d*x+c)^n)))^p,x, algorithm="maxima")

[Out]

integrate((b*g*x + a*g)^m*(I*d*x + I*c)^(-m - 2)*(B*log((b*x + a)^n*e/(d*x + c)^n) + A)^p, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*g*x+a*g)^m*(d*i*x+c*i)^(-2-m)*(A+B*log(e*(b*x+a)^n/((d*x+c)^n)))^p,x, algorithm="fricas")

[Out]

integral((I*d*x + I*c)^(-m - 2)*(cosh(-p*log(1/2*I*pi*B*n + B*n*log(b*x + a) - B*n*log(I*d*x + I*c) + A + B))
- sinh(-p*log(1/2*I*pi*B*n + B*n*log(b*x + a) - B*n*log(I*d*x + I*c) + A + B)))*e^(m*log(b*x + a) + m*log(g)),
 x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*g*x+a*g)**m*(d*i*x+c*i)**(-2-m)*(A+B*ln(e*(b*x+a)**n/((d*x+c)**n)))**p,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*g*x+a*g)^m*(d*i*x+c*i)^(-2-m)*(A+B*log(e*(b*x+a)^n/((d*x+c)^n)))^p,x, algorithm="giac")

[Out]

Exception raised: RuntimeError >> An error occurred running a Giac command:INPUT:sage2OUTPUT:Simplification as
suming sageVARc near 0Simplification assuming sageVARc near 0Simplification assuming t_nostep near 0Simplifica
tion assuming

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a\,g+b\,g\,x\right )}^m\,{\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )\right )}^p}{{\left (c\,i+d\,i\,x\right )}^{m+2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a*g + b*g*x)^m*(A + B*log((e*(a + b*x)^n)/(c + d*x)^n))^p)/(c*i + d*i*x)^(m + 2),x)

[Out]

int(((a*g + b*g*x)^m*(A + B*log((e*(a + b*x)^n)/(c + d*x)^n))^p)/(c*i + d*i*x)^(m + 2), x)

________________________________________________________________________________________